/* Copyright (c) 2004 Nordic Semiconductor. All Rights Reserved.
 *
 * The information contained herein is confidential property of 
 * Nordic Semiconductor. The use, copying, transfer or disclosure 
 * of such information is prohibited except by express written
 * agreement with Nordic Semiconductor.
 */ 

/** @file
 * Header file for using the PS2 interface in a USB application
 * @author Runar Kjellhaug
 *
 */

#ifndef PS2_CONVERT_H__
#define PS2_CONVERT_H__

#include <stdint.h>
#include <stdbool.h>
#include "ps2_io.h"

#define app_ps2_flush_fifo() ps2_flush_fifo();

bool app_ps2_get_and_convert(uint8_t* returndata);
uint8_t app_ps2_init(void);

#endif